package errcode

var code = 10000000;

var (
	Success = NewError(0, "成功")
	ServerError = NewError(code, "服务内部错误")
	InvalidParams = NewError(code+1, "传入参数错误")
	NotFound = NewError(code+2, "找不到")
	UnauthorizeAuthNotExist = NewError(code+3, "鉴权失败,找不到对应的AppKey和AppSecret")
	UnauthorizeTokenError = NewError(code+4, "鉴权失败,Token错误")
	UnauthorizeTokenTimeout = NewError(code+5, "鉴权失败, Token超时")
	UnauthorizeTokenGenerate = NewError(code+6, "鉴权失败, Token生成失败")
	TooManyRequests = NewError(code+7, "请求过多")
)
